import { request } from '/@/utils/http/axios';
enum Api {
  getType = '/paper/getTopicTypes',
  getTeacher = '/pjls/pjlsList',
  getPaperTeacher = '/paper/pjlsList',
  topicTree = '/paper/topicTree',

}


// 试卷信息管理-获取教师列表
export const getTeacher = () => {
  return request({
    url: Api.getPaperTeacher,
    method: "GET",
  });
}

// 试卷信息管理-题目树形结构
export const topicTree = (kmdm: string) => {
  return request({
    url: `${Api.topicTree}/${kmdm}`,
    method: "GET",
  });
}




